package com.faiz.example.springtest;

import com.faiz.example.springtest.entity.Student;
import com.faiz.example.springtest.myenum.Sex;
import org.springframework.stereotype.Component;

@Component
public class TestComponent {

    Student student;

    public Student testStudent() {
        student = new Student("faiz", Sex.MALE);
        return student;
    }
}
